/**
 * Copyright (C) 2018-2020
 * All rights reserved, Designed By www.yixiang.co

 */
package co.yixiang.constant;

/**
 * 商城统一常量
 * @author hupeng
 * @since 2020-02-27
 */
public interface ShopConstants {

	/**
	 * 订单自动取消时间（分钟）
	 */
	long ORDER_OUTTIME_UNPAY = 1;
	/**
	 * 订单自动收货时间（天）
	 */
	long ORDER_OUTTIME_UNCONFIRM = 1;
	/**
	 * redis订单未付款key
	 */
	String REDIS_ORDER_OUTTIME_UNPAY = "order:unpay:";
	/**
	 * redis订单收货key
	 */
	String REDIS_ORDER_OUTTIME_UNCONFIRM = "order:unconfirm:";

	/**
	 * redis拼团key
	 */
	String REDIS_PINK_CANCEL_KEY = "pink:cancel:";

	/**
	 * 微信支付service
	 */
	String YSHOP_WEIXIN_PAY_SERVICE = "yshop_weixin_pay_service";

	/**
	 * 微信支付小程序service
	 */
	String YSHOP_WEIXIN_MINI_PAY_SERVICE = "yshop_weixin_mini_pay_service";

	/**
	 * 微信支付app service
	 */
	String YSHOP_WEIXIN_APP_PAY_SERVICE = "yshop_weixin_app_pay_service";

	/**
	 * 微信公众号service
	 */
	String YSHOP_WEIXIN_MP_SERVICE = "yshop_weixin_mp_service";
	/**
	 * 微信小程序service
	 */
	String YSHOP_WEIXIN_MA_SERVICE = "yshop_weixin_ma_service";

	/**
	 * 商城默认密码
	 */
	String YSHOP_DEFAULT_PWD = "123456";

	/**
	 * 商城默认注册图片
	 */
	String YSHOP_DEFAULT_AVATAR = "https://image.dayouqiantu.cn/5e79f6cfd33b6.png";

	/**
	 * 腾讯地图地址解析
	 */
	String QQ_MAP_URL = "https://apis.map.qq.com/ws/geocoder/v1/";

	/**
	 * redis首页键
	 */
	String YSHOP_REDIS_INDEX_KEY = "yshop:index_data";

	/**
	 * 配置列表缓存
	 */
	String YSHOP_REDIS_CONFIG_DATAS = "yshop:config_datas";

	/**
	 * 充值方案
	 */
	String YSHOP_RECHARGE_PRICE_WAYS = "yshop_recharge_price_ways";
	/**
	 * 首页推三返一开关
	 */
	String YSHOP_HOME_IS_REBATE = "is_rebate";

	/**
	 * 秒杀活动开关
	 */
	String YSHOP_HOME_IS_SECKILL = "is_seckill";

	/**
	 * 商学院轮播
	 */
	String YSHOP_BUSINESSSCHOOL_BANNER = "yshop_businessSchool_banner";
	/**
	 * 首页推三返一路径
	 */
	String YSHOP_HOME_REBATEPAGES = "rebatePages";

	/**
	 * 首页推三返一ID
	 */
	String YSHOP_HOME_REBATEID = "rebateId";

	/**
	 * 首页推三返一结束时间
	 */
	String YSHOP_HOME_REBATEENDTIME = "rebateEndTime";

	/**
	 * 首页推三返一首页图片
	 */
	String YSHOP_HOME_REBATEIMAGESPATH = "rebateImagesPath";

	/**
	 * 首页秒杀活动首页图片
	 */
	String YSHOP_HOME_SECKILLIMAGESPATH = "seckillImagesPath";

	/**
	 * 首页秒杀活动首页图片
	 */
	String YSHOP_HOME_EJECT = "yshop_home_Eject";

	/**
	 * 首页秒杀开始时间
	 */
	String YSHOP_HOME_SECKILLSTARTTIME = "seckillStartTime";

	/**
	 * 首页秒杀结束时间
	 */
	String YSHOP_HOME_SECKILLENDTIME = "seckillEndTime";

	/**
	 * 推广背景图
	 */
	String WECHAT_SPREAD_IMG = "wechat_spread_img";

	/**
	 * 讲师授权书背景图
	 */
	String WECHAT_AUTHORIZE_IMG = "wechat_authorize_img";

	/**
	 * 运营师授权书背景图
	 */
	String WECHAT_OPERATOR_IMG = "wechat_operator_img";

	/**
	 * 联营公司授权书背景图
	 */
	String WECHAT_ASSOCIATES_IMG = "wechat_associates_img";

	/**
	 * 公章背景图
	 */
	String WECHAT_OFFICIAL_SEAL_IMG = "wechat_official_seal_img";

	/**
	 * 导航图片
	 */
	String LOAD_INDEX_IMG = "load_index_img";

	/**
	 * 导航图片
	 */
	String ABOUT_IMAGES = "about_images";

	/**
	 * 首页banner
	 */
	String YSHOP_HOME_BANNER = "yshop_home_banner";
	/**
	 * 首页菜单
	 */
	String YSHOP_HOME_MENUS = "yshop_home_menus";

	/**
	 * 首页产品图片
	 */
	String YSHOP_HOME_ADVERT = "yshop_home_advert";
	/**
	 * 首页滚动新闻
	 */
	String YSHOP_HOME_ROLL_NEWS = "yshop_home_roll_news";
	/**
	 * 热门搜索
	 */
	String YSHOP_HOT_SEARCH = "yshop_hot_search";
	/**
	 * 个人中心菜单
	 */
	String YSHOP_MY_MENUES = "yshop_my_menus";
	/**
	 * 秒杀时间段
	 */
	String YSHOP_SECKILL_TIME = "yshop_seckill_time";
	/**
	 * 签到天数
	 */
	String YSHOP_SIGN_DAY_NUM = "yshop_sign_day_num";

	/**
	 * 打印机配置
	 */
	String YSHOP_ORDER_PRINT_COUNT = "order_print_count";
	/**
	 * 飞蛾用户信息
	 */
	String YSHOP_FEI_E_USER = "fei_e_user";
	/**
	 * 飞蛾用户密钥
	 */
	String YSHOP_FEI_E_UKEY= "fei_e_ukey";

	/**
	 * 打印机配置
	 */
	String YSHOP_ORDER_PRINT_COUNT_DETAIL = "order_print_count_detail";

	/**
	 * 短信验证码长度
	 */
	int YSHOP_SMS_SIZE = 6;

	/**
	 * 短信缓存时间
	 */
	long YSHOP_SMS_REDIS_TIME = 600L;

	//零标识
	String YSHOP_ZERO =  "0";

	//业务标识标识
	String YSHOP_ONE =  "1";

	//目前完成任务数量是3
	int TASK_FINISH_COUNT = 3;

	int YSHOP_ONE_NUM = 1;

	String YSHOP_ORDER_CACHE_KEY = "yshop:order";

	long YSHOP_ORDER_CACHE_TIME = 600L;

	String WECHAT_MENUS =  "wechat_menus";

	String YSHOP_EXPRESS_SERVICE = "yshop_express_service";

	String YSHOP_REDIS_SYS_CITY_KEY = "yshop:city_list";

	String YSHOP_REDIS_CITY_KEY = "yshop:city";

	String YSHOP_APP_LOGIN_USER = "app-online-token:";

	String YSHOP_WECHAT_PUSH_REMARK = "予礼为您服务！";

	//String DEFAULT_UNI_H5_URL = "http://mc.ylsp.vip";
	String DEFAULT_UNI_H5_URL = "http://juxi.judouwh.top";

	String YSHOP_MINI_SESSION_KET = "yshop:session_key:";

	/**公众号二维码*/
	String WECHAT_FOLLOW_IMG="wechat_follow_img";
	/**后台api地址*/
	String ADMIN_API_URL="admin_api_url";

	/**运营中心省级*/
	String OPERATE_PROVINCE="operate_province";

	/**运营中心市级*/
	String OPERATE_CITY="operate_city";

	/**运营中心区级*/
	String OPERATE_COUNTY="operate_county";

	/**取消订单*/
	String CANCEL_ORDER_TIME="cancel_order_time";

	/**确认订单*/
	String CONFIRM_ORDER_TIME="confirm_order_time";

	/**授权时间*/
	String AUTHORIZATION_EFFECTIVE_TIME="authorization_effective_time";

	/**
	 * redis授权key
	 */
	String REDIS_AUTHORIZATION = "user:authorization:";

	/**
	 * 抽奖活动是否开启
	 */
	String IS_PRIZE = "is_prize";

	/**抽奖活动时间*/
	String PRIZE_END_TIME="prize_end_time";

	/**统计团队活动开始时间*/
	String ACTIVITY_BEGIN_TIME="activity_begin_time";

	/**统计团队活动结束时间*/
	String ACTIVITY_END_TIME="activity_end_time";

	/**
	 * 统计团队活动是否开启
	 */
	String IS_ACTIVITY = "is_activity";

	/**
	 * 协议图片
	 */
	String DEAL_IMAGE = "deal_image";

	/**
	 * 首页顶部图
	 */
	String INDEX_TOP_IMAGES = "index_top_images";

	/**
	 * 个人中心顶部背景图
	 */
	String USER_TOP_IMAGES = "user_top_images";

	/**
	 * 个人中心订单未支付图标
	 */
	String USER_ORDER_UNPAID_IMG = "user_order_unpaid_img";

	/**
	 * 个人中心订单已支付图标
	 */
	String USER_ORDER_PAID_IMG = "user_order_Paid_img";

	/**
	 * 个人中心订单已发货图标
	 */
	String USER_ORDER_SHIPPED_IMG = "user_order_shipped_img";

	/**
	 * 客服二维码
	 */
	String USER_QRCODE_IMG = "user_qrCode_img";

	/**
	 * 个人中心底部logo
	 */
	String USER_BOTTOM_LOGO = "user_bottom_logo";

	/**
	 * 是否强制绑定手机
	 */
	String FORCE_BIND_MOBILE = "force_bind_mobile";

	/**
	 * 是否没有上级允许下单
	 */
	String IS_PLACE_ORDER = "is_place_order";

	/**
	 * 是否显示微信支付选择
	 */
	String SHOW_WECHAT_PAYMENT = "show_wechat_payment";

	/**
	 * 是否显示积分支付选择
	 */
	String SHOW_INTEGRAL_PAYMENT = "show_integral_payment";

	/**
	 * 提现利率
	 */
	String EXTRACT_RATE = "extract_rate";

	/**
	 * redis新用户未下单key
	 */
	String REDIS_USER_OUTTIME_UNPAY = "user:unpay:";

	/**解绑用户上级时限*/
	String UNBIND_USER_SPREAD_TIME="unbind_user_spread_time";
	/**
	 * 禁用的等级数组集合
	 */
	String DISABLELIVE = "disableLive";
}
